package com.sky.mapper;

import com.github.pagehelper.Page;
import com.sky.dto.EmployeePageQueryDTO;
import com.sky.entity.Employee;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmployeeMapper {
    Employee getByUsername(String username);


    Page<Employee> pageQuery(EmployeePageQueryDTO employeePageQueryDTO);

    void save(Employee employee);

    Employee getInfo(Long id);

    void update(Employee employee);

}
